package com.parroquia.sacramento.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.validator.annotations.RequiredStringValidator;
import com.opensymphony.xwork2.validator.annotations.StringLengthFieldValidator;
import com.opensymphony.xwork2.validator.annotations.Validations;
import com.opensymphony.xwork2.validator.annotations.ValidatorType;
import com.parroquia.sacramento.model.Confirmacion;


@Action(value="register-confirmacion", 
results={
	@Result(name="exito", location="/message.jsp"),
	@Result(name="error", location="/confirmacion.jsp"),
	@Result(name="input", location="/confirmacion.jsp")
	}
)
public class Confirmacion_Action extends ActionSupport{

private static final long serialVersionUID = 1L;
	
	private Confirmacion bautismo;
	private String message;
	public Confirmacion getBautismo() {
		return bautismo;
	}
	public void setBautismo(Confirmacion bautismo) {
		this.bautismo = bautismo;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
